package com.test.interviewtest.service.impl;

import com.test.interviewtest.domain.User;
import com.test.interviewtest.mapper.UserMapper;
import com.test.interviewtest.service.UserService;

import javax.annotation.Resource;

public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public boolean insert(User user) {
        return userMapper.insert(user) >0;
    }
}
